package com.example.demo.security.sysMessage.entity;


import java.io.Serializable;

public class MessagesBean implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 信息id
     */
    private Integer id;
    /**
     * 群聊id
     */
    private Integer groupId;
    /**
     * 用户id（谁发的）
     */
    private Integer userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户id（发给谁）
     */
    private Integer receiveId;
    /**
     * 消息
     */
    private String message;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Integer receiveId) {
        this.receiveId = receiveId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
